POV-Ray : Newsgroups : povray.general : Isosurface media question : Re: Isosurface media question Server Time
11 Aug 2024 05:14:22 EDT (-0400)
  Re: Isosurface media question  
From: Peter Popov
Date: 6 Sep 1999 00:25:12
Message: <YEHTN98AgfONAna9Zlxr9xZUrTnB@4ax.com>
Here's a formula that John VanSickle gave me when I was looking for a
way to make toroidal media:

sqrt( y*y + (sqrt(x*x+z*z)-1)*(sqrt(x*x+z*z)-1) )

This makes a torus of major and minor radii 1. Some tweaking of the
frequency and phase keywords might be necessary. Enjoy.


Peter Popov
ICQ: 15002700


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.